package com.qf.mapper;

import com.qf.entity.EbookCategoty;
import com.qf.entity.EbookCategotyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EbookCategotyDao {
    long countByExample(EbookCategotyExample example);

    int deleteByExample(EbookCategotyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EbookCategoty record);

    int insertSelective(EbookCategoty record);

    List<EbookCategoty> selectByExample(EbookCategotyExample example);

    EbookCategoty selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EbookCategoty record, @Param("example") EbookCategotyExample example);

    int updateByExample(@Param("record") EbookCategoty record, @Param("example") EbookCategotyExample example);

    int updateByPrimaryKeySelective(EbookCategoty record);

    int updateByPrimaryKey(EbookCategoty record);
}